package com.wejoy.video.middle.station.data.mapper.res;

import com.wejoy.video.middle.station.data.domain.res.VideoResLib;

import java.util.List;

/**
 * 视频资源库
 *
 * @author Administrator
 * @date 2021年10月25日 17:52:36
 */
public interface IVideoResLibMapper {

    /**
     * 插入
     *
     * @param videoResLib videoResLib
     * @return int
     */
    int insertSelective(VideoResLib videoResLib);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(VideoResLib setParam, VideoResLib whereParam);

    /**
     * 数量
     *
     * @param videoResLib videoResLib
     * @return int
     */
    int getCount(VideoResLib videoResLib);

    /**
     * 单条
     *
     * @param videoResLib videoResLib
     * @return VideoResLib
     */
    VideoResLib getOne(VideoResLib videoResLib);

    /**
     * 多条
     *
     * @param videoResLib videoResLib
     * @return List<VideoResLib>
     */
    List<VideoResLib> getList(VideoResLib videoResLib);

    /**
     * 分页
     *
     * @param videoResLib videoResLib
     * @return List<VideoResLib>
     */
    List<VideoResLib> getPageList(VideoResLib videoResLib);
}